home *** CD-ROM | disk | FTP | other *** search
/ IRIX Installation Tools & Overlays 2002 November / SGI IRIX Installation Tools & Overlays 2002 November - Disc 4.iso / dist / motif21_dev.idb / usr / Motif-2.1 / include / Xm / TakesDefT.h.z / TakesDefT.h
C/C++ Source or Header  |  2002-10-15  |  992b  |  43 lines

  1. /* $XConsortium: TakesDefT.h /main/5 1995/07/15 20:55:59 drk $ */
  2. /*
  3.  *  @OSF_COPYRIGHT@
  4.  *  COPYRIGHT NOTICE
  5.  *  Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc.
  6.  *  ALL RIGHTS RESERVED (MOTIF). See the file named COPYRIGHT.MOTIF for
  7.  *  the full copyright text.
  8.  */
  9. /*
  10.  * HISTORY
  11.  */
  12. #ifndef _XmTakesDefaultT_H
  13. #define _XmTakesDefaultT_H
  14.  
  15. #include <Xm/Xm.h>
  16.  
  17. #ifdef __cplusplus
  18. extern "C" {
  19. #endif
  20.  
  21. externalref XrmQuark XmQTtakesDefault;
  22.  
  23. /* Trait structures and typedefs, place typedefs first */
  24.  
  25. typedef void (*XmTakesDefaultNotifyProc)(Widget w, 
  26.                      XtEnum state);
  27.  
  28. /* Version 0: initial release. */
  29.  
  30. typedef struct _XmTakesDefaultTraitRec {
  31.   int               version;        /* 0 */
  32.   XmTakesDefaultNotifyProc showAsDefault;
  33. } XmTakesDefaultTraitRec, *XmTakesDefaultTrait;
  34.  
  35. enum {XmDEFAULT_READY, XmDEFAULT_ON, XmDEFAULT_OFF, XmDEFAULT_FORGET} ;
  36.  
  37.  
  38. #ifdef __cplusplus
  39. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  40. #endif
  41.  
  42. #endif /* _XmTakesDefaultT_H */
  43.